package cc.lpz.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("address")
public class Address {
    @TableId(type = IdType.AUTO)
    private int id;
    private String detail;
    private int userId;

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", detail='" + detail + '\'' +
                ", userId=" + userId +
                '}';
    }
}
